home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / MacHacksBug / Python 1.5.2c1 / Mac / Lib / lib-toolbox / Menus.py < prev    next >
Encoding:
Text File  |  2000-06-23  |  959 b   |  42 lines

  1. # Generated from 'flap:Metrowerks:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Menus.h'
  2.  
  3. def FOUR_CHAR_CODE(x): return x
  4. kMenuStdMenuProc = 63
  5. kMenuStdMenuBarProc = 63
  6. kMenuNoModifiers = 0
  7. kMenuNoIcon = 0
  8. kMenuIconType = 1
  9. kMenuShrinkIconType = 2
  10. kMenuSmallIconType = 3
  11. kMenuColorIconType = 4
  12. kMenuIconSuiteType = 5
  13. kMenuIconRefType = 6
  14. noMark = 0
  15. kMenuDrawMsg = 0
  16. kMenuChooseMsg = 1
  17. kMenuSizeMsg = 2
  18. kMenuDrawItemMsg = 4
  19. kMenuCalcItemMsg = 5
  20. kMenuThemeSavvyMsg = 7
  21. mDrawMsg = 0
  22. mChooseMsg = 1
  23. mSizeMsg = 2
  24. mDrawItemMsg = 4
  25. mCalcItemMsg = 5
  26. kThemeSavvyMenuResponse = 0x7473
  27. textMenuProc = 0
  28. hMenuCmd = 27
  29. hierMenu = -1
  30. mPopUpMsg = 3
  31. mctAllItems = -98
  32. mctLastIDIndic = -99
  33. gestaltContextualMenuAttr = FOUR_CHAR_CODE('cmnu')
  34. gestaltContextualMenuUnusedBit = 0
  35. gestaltContextualMenuTrapAvailable = 1
  36. kCMHelpItemNoHelp = 0
  37. kCMHelpItemAppleGuide = 1
  38. kCMHelpItemOtherHelp = 2
  39. kCMNothingSelected = 0
  40. kCMMenuItemSelected = 1
  41. kCMShowHelpSelected = 3
  42.